package com.ruoyi.project.system.stream.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.project.system.shiping.domain.Shiping;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 视频直播流对象 sys_stream
 * 
 * @author ruoyi
 * @date 2024-11-11
 */
public class Stream extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 直播流ID */
    @Excel(name = "直播流ID")
    private String streamId;

    /** 状态 */
    @Excel(name = "状态")
    private String streamStatus;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createData;

    /** 视屏id */
    private Long shipingId;

    /** 视频管理信息 */
    private List<Shiping> shipingList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setStreamId(String streamId) 
    {
        this.streamId = streamId;
    }

    public String getStreamId() 
    {
        return streamId;
    }

    public void setStreamStatus(String streamStatus) 
    {
        this.streamStatus = streamStatus;
    }

    public String getStreamStatus() 
    {
        return streamStatus;
    }

    public void setCreateData(Date createData) 
    {
        this.createData = createData;
    }

    public Date getCreateData() 
    {
        return createData;
    }

    public void setShipingId(Long shipingId) 
    {
        this.shipingId = shipingId;
    }

    public Long getShipingId() 
    {
        return shipingId;
    }

    public List<Shiping> getShipingList()
    {
        return shipingList;
    }

    public void setShipingList(List<Shiping> shipingList)
    {
        this.shipingList = shipingList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("streamId", getStreamId())
            .append("streamStatus", getStreamStatus())
            .append("createBy", getCreateBy())
            .append("createData", getCreateData())
            .append("shipingId", getShipingId())
            .append("shipingList", getShipingList())
            .toString();
    }
}
